package org.chen.model.service;

import org.chen.model.domain.Users;
import org.chen.dto.UserAuthDTO;

import java.util.List;

/**
 * @Author: 陈亮
 * @Date: 2019/3/24 14:12
 */
public interface UsersService {

    Users findByAccount(String account);

    Users findByAccountAndPassword(String account, String password);

    List<Users> findAll();

    UserAuthDTO AssembleRoleAndPermissionByUser(Integer id, String sessionId);

}
